<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <style type="text/css">
        img{
            border-radius: 50%;
        }
        #box1{
            border-radius:15px 15px 15px 15px;
            background-color: #00b3ff;
            width: 100px;
            height: 50px;
            line-height: 50px;
            text-align: center;
        }
        #box2{
            border-radius: 0 15px 15px 0;
            background: #00b3ff;
            width: 100px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            margin-top: 20px;
        }
        #box3{
            width: 100px;
            height:20px;
            border: 10px solid red;
            border-image-source: url("img/border_image_button.png");
            border-image-slice:20% 50%;
            border-image-repeat:round;
            margin-top: 30px;
        }
        #box4{
            background: limegreen;
            width: 200px;
            height: 100px;
            box-shadow: 20px 10px 10px #666666;
        }
        fieldset{
            width: 300px;
            height: 600px;
            margin-top: 30px;
        }
        .img1{
            width: 100px;
            height: 80px;
            background: url("img/tx.jpg");
        }
        .img2{
            width: 200px;
            height: 150px;
            background: url("img/tx.jpg") no-repeat gainsboro;
            background-size: cover;
            margin-top: 30px;
        }
        .img3 {
            width: 200px;
            height: 250px;
            background: url("img/tx.jpg") no-repeat darkgrey;
            background-size: contain;
            margin-top: 30px;
        }
        #box5 span{
            text-shadow: 5px 4px 2px #f0f;
            font-size: 22px;
        }
        #box6{
            width: 200px;
            height: 200px;
            background: darkseagreen;
            word-wrap: break-word;
            font-size: 20px;
            line-height: 30px;
            margin-top: 20px;
        }
    </style>
</head>
<body>
<span>圆形</span>
<div><img src="img/tx.jpg" alt=""/></div>
<span>圆角</span>
<div id="box1">圆角</div>
<div id="box2">圆角</div>
<div id="box3">边框背景</div>
<div id="box4">盒子阴影</div>
<fieldset>
    <legend>background-size</legend>
    <div class="img1">像素</div>
    <div class="img2">cover</div>
    <div class="img3">contain</div>
</fieldset>
<div id="box5">
    <span>我是文本阴影</span>
</div>
<span>word-wrap</span>
<div id="box6">thisisalonggongtinmeagotthissialonggongtinmeagotthialonggongtinmeagotthi</div>
</body>
</html>
</body>
</html>